<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    
    <script>
        //多维数组
        var arr=['粤嵌',['广州市',['天河区',['天吉路']]]]
        console.log(arr);

        console.log(arr[0]);
        console.log(arr[1][1][1]);  //数组的查找也是从零开始


        var users=[
            ['tom','20','男','计算机网络'],
            ['jerty','12','女','计算机应用'],
            ['trump','22','男','软件技术'],
            ['biden','25','女','云计算'],
        ];
        for(var i=0;i<users.length;i++)
        {
            for(var j=0;j<users[i].length;j++)
            {
                document.write(users[i][j]+'&nbsp;&nbsp;')
            }
            document.write("<br/>")
        }


        
    </script>

</head>
<body>
    
</body>
</html>